const orderInfoService = require('../../service/o2o_client/orderInfo.service.info.js');
const winston = require('../../utils/winstonLogger.js');

module.exports = {
    findOrderInfoByCustomerId : findOrderInfoByCustomerId,
    addOrder : addOrder,
    updateorderInfo : updateorderInfo
}


function findOrderInfoByCustomerId(req,res,next){
    console.log('findCustomerOrder...');
    orderInfoService.findOrderInfoByCustomerId(req,res,next);
}

function addOrder(req,res,next){
    console.log('addOrder...');
    orderInfoService.addOrder(req,res,next);
}

function updateorderInfo(req,res,next){
    console.log('updateorderInfo...');
    orderInfoService.updateorderInfo(req,res,next);
}